From: Brion Vibber Date: Mon, 4 Jul 2005 22:24:06 +0000 (+0000) Subject: * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs X-Git-Tag: 1.5.0beta2~11 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Subpage_test/1/2/%5B%27/%40%20%27icone_supprimer_signature%27%20=%3E%20%27Delete%20this%20signature%27%2C%20%27icone_valider_signature%27%20=%3E%20%27Validate%20this%20signature%27%2C%20%27image_administrer_rubrique%27%20=%3E%20%27You%20can%20manage%20this%20section%27%2C-%27impossible_modifier_login_auteur%27%20=%3E%20%27Login%20cannot%20be%20changed.%27%2C-%27impossible_modifier_pass_auteur%27%20=%3E%20%27Password%20cannot%20be%20changed.%27%2C%20%27info_1_article%27%20=%3E%20%271%20article%27%2C-%27info_1_article_syndique%27%20=%3E%20%271%20syndicated%20article%27%2C%20%27info_1_auteur%27%20=%3E%20%271%20author%27%2C%20%27info_1_message%27%20=%3E%20%271%20message%27%2C%20%27info_1_mot_cle%27%20=%3E%20%271%20keyword%27%2C%20%27info_1_rubrique%27%20=%3E%20%271%20section%27%2C-%27info_1_site%27%20=%3E%20%271%20site%27%2C%20%27info_1_visiteur%27%20=%3E%20%271%20visitor%27%2C%20%27info_activer_cookie%27%20=%3E%20%27You%20can%20activate%20an%20%3Cb%3Eadministration%20cookie%3C/b%3E%2C%20which%20allows%20you%20%20to%20switch%20easily%20between%20the%20public%20site%20and%20the%20private%20area.%27%2C%40%40%20-249%2C16%20%20213%2C13%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=8f1213a7c5d267d356152f75df680ec90591aaa6;p=lhc%2Fweb%2Fwiklou.git * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4761a8af77..8b27ea16c8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -469,6 +469,7 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 2616) Fix proportional image scaling, giving correct height * (bug 2640) Include width and height attributes on unscaled images * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs +* (bug 1109) Suppress compressed output on 304 responses === Caveats === diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 1316919ca0..a5a69adeee 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -124,6 +124,7 @@ class OutputPage { $this->sendCacheControl(); wfDebug( "CACHED client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false ); $this->disable(); + @ob_end_clean(); // Don't output compressed blob return true; } else { wfDebug( "READY client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false );